<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<title>INVOICE</title>
        <?php
            echo $this->Html->css('print', null, array('media' => 'all'));
            echo $this->fetch('meta');
        echo $this->fetch('css');
        ?>
</head>
<body>
    <div class="content">
        <?php echo $this->fetch('content'); ?>
    </div>
    <script>
        window.print();
        setTimeout(10, window.close());
   </script>
</body>
</html>